
package com.zhiwei.codesecurity.common.webservice.checkmarx.portal.v7;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>CxPermission complex type的 Java 类。
 * 
 * <p>以下模式片段指定包含在此类中的预期内容。
 * 
 * <pre>
 * &lt;complexType name="CxPermission"&gt;
 *   &lt;complexContent&gt;
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *       &lt;sequence&gt;
 *         &lt;element name="Id" type="{http://www.w3.org/2001/XMLSchema}long"/&gt;
 *         &lt;element name="ViewPreScanActions" type="{http://www.w3.org/2001/XMLSchema}boolean"/&gt;
 *         &lt;element name="ViewPostScanActions" type="{http://www.w3.org/2001/XMLSchema}boolean"/&gt;
 *       &lt;/sequence&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CxPermission", propOrder = {
    "id",
    "viewPreScanActions",
    "viewPostScanActions"
})
public class CxPermission {

    @XmlElement(name = "Id")
    protected long id;
    @XmlElement(name = "ViewPreScanActions")
    protected boolean viewPreScanActions;
    @XmlElement(name = "ViewPostScanActions")
    protected boolean viewPostScanActions;

    /**
     * 获取id属性的值。
     * 
     */
    public long getId() {
        return id;
    }

    /**
     * 设置id属性的值。
     * 
     */
    public void setId(long value) {
        this.id = value;
    }

    /**
     * 获取viewPreScanActions属性的值。
     * 
     */
    public boolean isViewPreScanActions() {
        return viewPreScanActions;
    }

    /**
     * 设置viewPreScanActions属性的值。
     * 
     */
    public void setViewPreScanActions(boolean value) {
        this.viewPreScanActions = value;
    }

    /**
     * 获取viewPostScanActions属性的值。
     * 
     */
    public boolean isViewPostScanActions() {
        return viewPostScanActions;
    }

    /**
     * 设置viewPostScanActions属性的值。
     * 
     */
    public void setViewPostScanActions(boolean value) {
        this.viewPostScanActions = value;
    }

}
